package com.erp.erp_dao.Purchase;

import com.erp.erp_entitys.Purchase.PurchaseFeedback;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zjk
 * @version 1.0
 * @description
 * @date 2021-06-24 2:27
 */
public interface IPurchaseFeedbackDao {

    int deleteByPrimaryKey(Integer id);

    int insert(PurchaseFeedback record);

    /**
     * 添加采购反馈
     * @param record
     * @return
     */
    int insertSelective(PurchaseFeedback record);

    PurchaseFeedback selectByPrimaryKey(Integer id);
    /**
     * 修改采购反馈
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(PurchaseFeedback record);

    int updateByPrimaryKey(PurchaseFeedback record);


    /**
     * 根据条件查询反馈信息
     * @param record
     * @return
     */
    List<PurchaseFeedback> findPurchaseFeedbackByPrimaryKey(PurchaseFeedback record);
}
